package cn.cs.mapper;

import cn.cs.pojo.SettlementDetailed;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SettlementDetailedMapper {

    public Map<String, String> getSettlementDetailedById(@Param(value = "id") String id) throws Exception;

    public List<SettlementDetailed> getSettlementDetailedListByMap(Map<String, Object> param) throws Exception;

    public Integer getSettlementDetailedCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertSettlementDetailed(SettlementDetailed settlementDetailed) throws Exception;

    public Integer updateSettlementDetailed(SettlementDetailed settlementDetailed) throws Exception;

    public Integer deleteSettlementDetailedById(@Param(value = "id") String id) throws Exception;

    public Integer updateSettlementDetailedState(@Param("id")String id,@Param("personId")String personId)throws Exception;

    public Integer insertRepairOrderList(List<Map<String, String>> list)throws Exception;

    public List<Map<String,Object>> getSetHisList(String id);

    public Map<String,Object> getSetInfoById(String id);

    public List<Map<String,Object>> capitalInfoList();
}
